<%--
  Created by IntelliJ IDEA.
  User: CHJYPC
  Date: 2021/5/22
  Time: 11:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
    request.setAttribute("rootPath",basePath);
%>
<html>
<head>
    <title>学情分析系统</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="<%=basePath%>resources/css/login.css">

</head>
<body>
<div class="backgroudInit"></div>
<div class="wrapper">
    <div class="header">
        <%--<img src="../../../../resources/images/GUET.png">--%>
        <h1 class="titleGUET">桂林电子科技大学</h1>
    </div>
    <div class="main">
        <div class="left">
            <h1 class="wellcom"> 学情分析系统</h1>
            <h1 class="wellcom"> 欢迎使用！</h1>
        </div>
        <div class="content">
            <!--登录注册区域-->
            <!--/////////////-->
            <br>
            <div class="avatar"></div>
            <div class="loginOrRegisterBox">
                <ul class="witch">
                    <li id="loginButton" onclick="changeWitch(this)">登录</li>
                    <li id="registerButton" onclick="changeWitch(this)">注册</li>
                </ul>
                <div id="form">
                    <form action="login" id="login" method="post">
                        <input type="text" placeholder="用户名 / 邮箱" name="username">
                        <input type="password" placeholder="密码" name="password">
                        <div>
                            <input type="checkbox" name="" id="rem">
                            <p>记住密码</p>
                            <a href="#">忘记密码？</a>
                        </div>
                        <input type="submit" value="登 录">
                    </form>
                    <form action="" id="register">
                        <input type="text" placeholder="用户名" name="username">
                        <input type="email" name="email" id="" placeholder="邮箱">
                        <input type="password" placeholder="密码" name="password">
                        <input type="password" placeholder="确认密码" name="confirmPassword">
                        <input type="submit" value="立即注册">
                    </form>
                </div>
            </div>
            <!--/////////////////-->
        </div>
    </div>
    <div class="footer">
        <%--By 源梦科技--%>
    </div>
</div>

<script src="<%=basePath%>resources/js/login.js"></script>

</body>
</html>
